package behavior.visitor;

import behavior.visitor.impl.ChineseMedicine;
import behavior.visitor.impl.WesternMedicine;

/**
 * 访问者可以访问中药和西药
 * @author thinkpad
 *
 */
public abstract class Visitor {
	protected String name;  
	  
    public void setName(String name) {  
        this.name = name;  
    }  
    
    public abstract void visitor(WesternMedicine a);  
      
    public abstract void visitor(ChineseMedicine b); 
}
